home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1999 March
/
EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso
/
earcd
/
devel
/
vbcc-68k-src
/
machines
/
amiga68k
/
libsrc
/
stdio
/
sscanf.c
< prev
next >
Wrap
C/C++ Source or Header
|
1999-01-01
|
321b
|
16 lines
#include <stdio.h>
#include <stdarg.h>
int sscanf(const char *s,const char *format,...)
{
int n;FILE f;va_list vl;
f.flags=_READABLE|_READ;
f.base=f.pointer=(char *)s;
f.bufsize=f.count=strlen(s);
f.filehandle=0;
va_start(vl,format);
n=vfscanf(&f,format,vl);
va_end(vl);
return(n);
}